 package com.juzi.wopu.domain;

public class SysProductResponse extends SysProduct{

	private String typeName;//编码表对应的类型名称
	
	private String subTypeName;// 编码表对应的商品名称
	
	private String smallImgPath;// 封装商品的小图片

	public String getSubTypeName() {
		return subTypeName;
	}
	public void setSubTypeName(String subTypeName) {
		this.subTypeName = subTypeName;
	}
	
	public String getTypeName() {
		return typeName;
	}
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	
	public String getSmallImgPath() {
		return smallImgPath;
	}
	public void setSmallImgPath(String smallImgPath) {
		this.smallImgPath = smallImgPath;
	}
	
	public SysProductResponse(SysProduct sysProduct){
		
		this.setiId(sysProduct.getiId());
		
		this.setsName(sysProduct.getsName());
		
		this.setiTypeSub(sysProduct.getiTypeSub());
		
		this.setsImgPath(sysProduct.getsImgPath());
		
		this.setdPriceOri(sysProduct.getdPriceOri());
		
		this.setiType(sysProduct.getiType());
		
		this.setsDes(sysProduct.getsDes());
		
		this.setDtInsert(sysProduct.getDtInsert());
		
		this.setSysCode(sysProduct.getSysCode());
	}
}
